package com.itheima.service.store;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.QuestionItem;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * QuestionItemService
 * 2021/10/19 9：56
 * created by yangyawen
 */
public interface QuestionItemService {

    // 分页查询全部
    PageInfo findByPage(String pageNum);


    //查询所有
    List<QuestionItem> findAll();


    //新增
    void save(QuestionItem questionItem);

    //删除

    void delete(String id);

    //修改
    void update(QuestionItem questionItem);

    //通过id查询该数据
    QuestionItem findById(String id);

}
